Three personnel were killed in a terror attack by militants in Jammu