The attack comes just days after Pakistani troops killed a number of militants in a tribal area of nearby South Waziristan as part of an effort to target Taliban and al-Qaida safe havens in the region .