Amid growing clashes with the Taliban, Pakistan's moves ironically mirror an approach it has decried in the past.