How Pakistan and Afghan Taliban, former allies, drifted into an ‘open war’