Trump's FBI pick Wray is confirmed by Senate to replace Comey, who was fired by Trump

True, but if Mueller is fired, presumably the investigation would return to domain the FBI, and he’d be in charge of sweeping it under the rug seeing it to it’s conclusion.