According to police, the man suspected of attacking a female constable on board a train last month was located and killed in an encounter during a raid in Uttar Pradesh.