This is what happens when the establishment and politicians are too busy making deals with these groups and not taking them head on in the initial stages.
This is a reenactment of previous problem in Swat in 2006 when crimes by TTP was discounted and told that they are local criminals, until they f****** occupied the whole city. But the establishment and politicians remained incompetent to their true self and went to make deal with them again in a 16 point agenda peace somewhere in 2008, released a high value terrorist, meanwhile killings of army personnels continued.
Then one day the state woke up, and started an operation to target the TTP and eventually got rid of them.
The same pattern seems to be happening here. Deny the existence of any groups at first, and then make deals with them if all else fails, and only when the issue blows up on your face you go to a military solution.
I am not vouching for violence every time. But most of the times nipping the problem in the bud in the initial stages would save alot of lives down the road.