Cease-fire reached in Gaza after spike in violence