The International Monetary Fund said it remains on “high alert” over fallout from the Middle East war on the global economy, warning that energy supplies will take time to recover even as the US and Iran announced an agreement to reopen the Strait of Hormuz.