Since IEDs are so easy to make, there really is no way to prevent them. So long as there is charcoal, manure, and sulfur springs, there will be gunpowder, even if it’s not as good as modern cellulose-based powder. Accordingly, detection is the key. Work on detecting them more reliably, avoiding obvious traps, and you’ll be golden.
As for it affecting recruitment, most who enlist know they can get injured/maimed/killed in a variety of other ways, so IEDs are not really a deterrent.
@YARNLADY When it comes to following orders, there is usually enough leeway to allow for thinking; you are often given a desired result and left to your own devices on how exactly to achieve them.