Steel really warps when you heat it up. Each compartment needs to be water tight. Just fixing the doorways alone would be a monumental task. Not to mention all the cabling and equipment that needs to be replaced. The amount of labor it will take to fix the steel will probably more than just laying down an entire new ship.
It'll be an interesting decision.
Unfortunately, the military is run by MBAs now. There's no excess funding available for emergencies. Every penny is allocated, and it's still not enough. I was on a smaller amphib class ship, we routinely ran out of budget for replacement parts. Every quarter was an exercise in prioritizing what was going to be fixed and what was going to not get fixed because we simply didn't have the budget for maintenance.
Another concern is the crew. You've now got 200 or so sailors with nothing to do. Are they supposed to just mill about and wait for the ship to be repaired for a couple years? The crew will need to be rotated to other assignments. Now, you have a ship with no crew, it's going to have to go basically through the entire commissioning process again, sea trials, etc.
It's all a logistical nightmare.
Whether it gets repaired or not is more of a financial decision than anything else. Surely the hull has many decades left.