More than 5,000 employees have resigned, retired or been fired​ from the Justice Department in the first year of Mr. Trump's second administration.