While the human rights situation on the ground in Afghanistan is unfortunate, realpolitik must set in in such a crucially strategic area, which means that the Taliban can't be sidelined. With the U.S. out of the picture, China has filled the void and has played the power broker with Pakistan and others. Border security, counterterrorism, and transit concerns necessitate this pragmatic thaw in relations as nations pursue their self-interests.
Pakistan must be careful what they wish for when dealing with the Taliban. Once a group that they helped nurture and use for strategic ends, they now have aims of installing a theocracy in Pakistan as well through the TTP and their assaults on Pakistan. Kowtowing and giving legitimacy to a group that seeks its destruction, Pakistan must choose to either reject these Islamist pressures or assent to them.