Israel’s military said on Thursday it had killed the head of Hamas internal security agency in a recent airstrike on Gaza, the latest Hamas official targeted by Israel.