Investors weighed a report that US president Donald Trump could end the Iran war even if the Strait of Hormuz remained closed.