Investors thought they had President Trump figured out as someone who would always back down from his most extreme policies. The war with Iran is challenging that.