Keeping Muller, both for how compromised he is with conflicts of interest, and his mistakes, is win-win.
The investigation will go nowhere, and whatever does come up will be tainted and questionable, and nobody can claim Trump shut down the investigation.