Clashes Kill 22 Militants, 2 Troops In NW Pakistan