The Justice Department fired more than a dozen prosecutors who worked on the investigations, and a group of senior FBI executives were told to resign or be fired.