The adopted doctrine is well-founded: if child soldiers shoot at you, you shoot them. It's not easy, but it's right.
Doing otherwise would not only put you and your own troops in danger; it would also encourage ruthless and immoral warlords to use more child soldiers, since they would have such an advantage.