Hamas was set to release all surviving hostages the same day in exchange for Palestinian prisoners held by Israel.