A high-risk, high-stakes gamble in which a fed-up Israel said " No mas, Hamas" - and could have alienated a key player in the region