Israel killed two Hamas militants in air strikes on Gaza on Friday, and two Palestinian protesters were killed in clashes with Israeli forces along the enclave’s border.