(Reuters) - The S&P 500 and the Nasdaq reversed course to scale new record highs on Wednesday after U.S. Secretary of State Rex Tillerson denied reports that he had considered resigning.