Israel's cabinet voted to approve a Gaza ceasefire and hostage release deal, set to begin Sunday, ending days of uncertainty.