If this really went as it has been described, it is one of the most well planned, targeted attacks on one's enemy that I can recall.
There is almost always going to be collateral damage in war, that is one of characteristics that makes it so abhorrent.
This is about as good as I can imagine one side to do to limit the casualties to actually being the enemy, especially when that enemy is intermingled with a civilian population.
An added plus, from the Israeli side, is that they can now screen those entering their county for hip scars. Those would be pretty telling.