Deadly attack on Pakistani troops