The comments came as the president set a hard deadline of 8 p.m. ET on Tuesday for Iran to reopen the Strait of Hormuz, the narrow waterway through which one-fifth of the world’s oil and liquefied natural gas passes.