This was part of a ceasefire pausing two years of war that pummeled the territory, killed tens of thousands of Palestinians, and had left scores of captives in militant hands.