Within a matter of days, and with Washington largely watching from the sidelines, the American-backed Kurdish project in Iraq - more than a generation in the making - has been brought to the precipice of ruin and collapse.