Analysts fear Iran has played a weak hand well and the US has blundered into a defining strategic failure