Israel, being a nation that runs on brain power, has developed some weapons to deal with collateral damage, as well as a complex tunnel system..
First off, to avoid much collateral damage, a sophisticated mortar is employed. This one however, has a guided system..and looks like it can
be placed into a basketball net ! Same size as our old 4.2" mortar, but with a precision guided property to it.
https://www.youtube.com/watch?v=YSQAqvuiuaQ Then there is the "sponge bomb"... Not so much need to to go down a tunnel, seeking out maddened fanatics. Just fill a portion of their tunnel with foam that hardens almost immediately, into a concrete like plug..
https://www.youtube.com/watch?v=y6UufPc87wY I can only imagine the anguish, when Allah's finest realize their "safe haven" has suddenly become their tomb !