Israel's cabinet approves a deal with Hamas for the release of dozens of hostages held by the militant group in Gaza, in exchange for a four-day ceasefire.