TTP are bunch of CIA, RAW MOSSAD, KGB, MI6, ISI & other agents PLUS some Independent Islamist who plays their own agenda game, different groups working for different agencies including ISI and each group(Agency) has some black sheep in their group working for other group(Agency)
A very complex situation, the reason why Pakistan Establishment wants dialogue to identify who works for whom and those agreed on our terms means they are working for us and those who will not follow dialogue and peace are agents of other agencies and will be dealt accordingly which I suggest massive operation and force to eliminate once for all but I think it will not vanish for all times because Afghanistan is a land now of foreign agencies and it will now remain a place where agencies play their tricks and game so TTP (Group working for their agencies) will not eliminate permanently and later will come and haunt neighbor's till a strong army and establishment will set up in Afghanistan BUT this establishment will be PRO Pakistan and if it will not like that then its not good for Pakistan's geographical Peace. So Pakistan should not allow a strong Anti Pakistan Establishment in Afghanistan. A strong Anti Pakistan Establishment in Afghanistan will then does not require TTP like forces because the ANTI Pakistan forces will play their card behind that establishment and so they will eliminate their spendable assets like TTP but biggest hurdle is there are some PRO ISI forces in TTP and in Pakistan which doing the same for what they are dong to us. Crux of the story is Afghanistan will remain unstable due to global intelligence cold war. Independent Islamists which are very very few struggling for Khurasan Empire which can be possible because Hadeeth clearly saying something like that but not in near Future. Its a game of chess and thrones where republics goes like that.