Just like mediocre software architectures, sometimes a full rewrite is the only way to go. No amount of refactoring will cleanse a self-corrupting system.
Just like a Windows installation after a while, nothing will help but a fresh reinstall with a blank slate.
However, it is the nature of our institutions to try and stay alive, even when they are outdated ideas, have been proven inneffective time and time again. Above all, they want to survive, even if the cost for this is a massively decreased quality of life for virtually everyone not holding the reins.