Negotiators for Israel and Hamas agreed to a deal to pause their fighting in the Gaza Strip, Arab mediators and the U.S. said Wednesday, opening a pathway to end a 15-month war that laid waste to the enclave, sparked a wider regional war and roiled politics in the West.