The suspect killed a 59-year-old detective and a 35-year-old senior constable, police said. Another detective was shot and was undergoing surgery.