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