3 security personnel killed in Pakistan