Search in Pathankot to ‘thwart terror’ attacks