The S&P 500 ended Tuesday marginally lower after President Donald Trump said that there would be no extensions on his new Aug. 1 tariff deadline.