Fortunately, there is a cure for that, as the British showed us at Omdurman. It's called ordnance.
Like I have said before, you have to find them first. We would do a LOT better in Afghanistan is we FULLY followed the Geneva Convention and treated them as they should be, like terrorists and criminals, instead of treating them like soldiers. If we did, they would be taken to military prisons, waterboarded for intel, tried and executed.