I like to think that the "refit" was always essentially intended by Starfleet to be a new ship, and basically replaced everything of the old. But they wanted to portray it as a refit, rather than scrap the old one and build a new, for marketing and PR purposes. The Enterprise
had become legendary and had completed an historic mission. They didn't want to just scrap her.