Special Counsel Robert Mueller says he is formally closing the counsel's office and resigning from the Justice Department.