An agreement offers Gazans at least some respite, and for Israelis it means the release of hostages. But the deal’s ambiguity leaves open the possibility that fighting could resume within weeks.