ISLAMABAD -- Hours before U.S. President Donald Trump said Tuesday local time that he had agreed to a two-week ceasefire with Iran, Pakistan stepped in to secure a two-week pause in the war, with the country's officials describing the intervention as one that helped avert a "doomsday scenario."