How have you come to conclusion that Daesh is gaining popularity in Pakistan? Links you provided give nothing as evidence to popularity gain by them. One link tells us since Pakistani soldiers came under Sniper fire hence it must be ISIS because they use these tactics. What the heck?! TTP has been using snipers for a very long time. All militaries and insurgents use snipers. It is not exclusive ISIS tactics.
Second link talks of TTP spokesperson announcing support to IS. Do you when it was? October 2014! Do you know the guy has been already killed by a drone? And most importantly those making these allegiance vows are sitting in Afghanistan not Pakistan. So you should be worrying about Afghanistan where your billions of $ are invested. Anyone can come up with a video or a flag and upload on Internet. That doesn't mean it has gained momentum in a certain society. As far as I know, it was an Indian Muslim running IS show on computers.
As far Kashmiris waiving IS flag side by side to Pakistan flag, I saw no picture or anything supporting it. Now you would love to see those, I know but have you experienced that joyful moment yet? Please provide us with some evidence. Don't come up with half cooked conspiracy theories. Sure Pakistan will look out for any sign of IS presence but at the moment it isn't there. Read up US ambassador to Pakistan's statement on this subject. Don't misguide people because of your weird burning desires!