How a ceasefire exposed Israel's military failures