When the Iran war effectively shut the Strait of Hormuz, energy markets braced for the worst. Analysts warned of prices soaring past $150 a barrel and a global recession.