The military may need to cure its counterinsurgent “hangover,” but the president has the wrong solution.