U.S. stock market indices rose on the heels of reported comments by President Donald Trump that the war against Iran could be over sooner than first expected.