Pakistan doesn't just have a Taliban problem, it has an Afghanistan problem. Whatever government exists in Afghanistan, be it a monarchy, communist, Islamist or nationalist, all operate to serve the hostile Pashtun majority against Pakistan's interests.