Those critics cited the 2015 misdemeanor plea deal for ex-CIA director and retired Army Gen. David H. Petraeus, who admitted mishandling classified information in materials he shared with his former mistress and biographer.