The ceasefire deal would release dozens of hostages held by militants in Gaza and pause the 15-month-war.