Details on release of hostages, Israeli withdrawal from Gaza and humanitarian aid all tentatively agreed