When we approach a non-Jew who has violated the seven Noahide laws (The seven Noahide laws prohibit idolatry, murder, theft, illicit sexual relations, blasphemy and eating the flesh of a live animal, and require societies to institute just laws and law courts)and kill him out of concern for upholding these seven laws, no prohibition has been violated.
Hindrances—babies are found many times in this situation. They block the way to rescue by their presence and do so completely by force. Nevertheless, they may be killed because their presence aids murder. There is justification for killing babies if it is clear that they will grow up to harm us, and in such a situation they may be harmed deliberately, and not only during combat with adults.
After looking at these pictures from Gaza I can’t help but think that while there are those who may want to distance themselves from the above quotes, such sentiment expressed therein is actually the policy of the IDF, for the moment, in its interactions with Palestinians.