Ex-Detective Faces Perjury Trial, Accused of Lies That Led to Jail Terms