They should not be in the Palestinian lands in the first place. If they go and kill Palestinians they could be put on trial by ICC. Their name and ranks are known and they will be brought to justice. The best thing for Israel will be to withdraw to pre 1967 borders and make peace the best security for Israel.
Donald Trump: Israeli settlement construction in West Bank should 'keep going' (Haaretz)