Troops killed in Pakistan attack