Markets are on edge, trying to price in the economic damage from US President Donald Trump's war with Iran and the policy reaction it could trigger