After a week of pure confusion, mixed messages, and wild fluctuation between military strikes by both sides and promises of imminent peace, President Donald Trump abruptly announced Thursday that Iran and the United States were inches away from a memorandum of understanding that would, at a minimum, codify a cessation in hostilities, open maritime traffic through the contested Strait of Hormuz, and set conditions for later negotiations about the Iranian nuclear program.