Hedge funds, banks and insurers rushed to size up their exposure to the Middle East after weekend attacks on Iran fueled chaos across the region.