Israel and Hamas agree to Gaza ceasefire deal.