While I agree that a program could be made to build sort of counter-countermeasure, I think that we are still not conscious of all the information we get from our environment thanks to our brain.
And as we don't have this knowledge, we can't give it to our products, like this program.
Now, let's say that we have such a program, able to reach its target most of the time. In that case, people would still have to focus on higher level tasks as you said, like global offensive strategy. Even for this task, I think that a spirit forged with mathematics will certainly be more efficient, with better logics and intuition. But my opinion might be influenced by the fact that in France, our best military schools do have high maths expectations for the entry exam.