In the latest violence , 17 militants and two pro-government tribesmen were killed in fighting in Bajur , where a military offensive has continued for more than two months , a government official said .