After 45 days of devastating destruction in Gaza, Israel and Hamas agreed on Wednesday to a temporary four-day halt on all military actions to allow the release of 50 hostages held by the militant group in exchange for 150 Palestinian detainees in Israel and the entry of humanitarian aid into the besieged territory.