Israel has agreed to withdraw troops to a line agreed upon by both sides as hostages are to be released