I think medical folks call the process "debridement."
The sooner you cut out the dead stuff - the faster you can start to heal.
To delay is to lose commits, further erode the program, and alienate even more fans to the point they start to fly banners. Break out the torches and pitch forks...