Afghan President Ashraf Ghani plans to retire more than 2,000 army generals and other senior officers, aiming to bring new blood into the military's top ranks to battle a resilient Taliban insurgency, officials said.