Israel agrees to end hostilities on land, sea and air and to halt targeted assassinations of militant leaders. Palestinians agree to stop rocket and border attacks.GAZA CITY — An Egyptian-brokered cease-fire agreement to end eight days of clashes between Israel and the Islamist group Hamas in the Gaza Strip relies heavily on the goodwill of two of the Middle East's bitterest enemies, but gave each enough to claim success.