Counting the terrorists out after this tactical victory would be a big mistake, warns a former CIA chief.