Mediators announced that Israel and Hamas agreed to a ceasefire deal, pausing a devastating 15-month war in the Gaza Strip.