Under the deal, a six-week ceasefire would take effect on Sunday, with the first of a series of hostage-for-prisoner exchanges coming shortly after.