A Virginia sheriff’s deputy who killed the family members of a 15-year-old California girl he tried to sexually extort online had been detained in 2016 for a psychiatric evaluation over threats to kill himself and his father, years before he joined law enforcement, according to a police report.