A definitive end to the four-week conflict in Gaza appeared possible on Tuesday morning as an agreed 72-hour ceasefire between Hamas and Israel came into effect and the Israeli military said it had withdrawn from the Palestinian territory.