Remelting whole planet is such a nonsense, it would take millions of years for the large body as Mars to cool enough for surface to be usable.
By the way, the loss of atmosphere takes millions of years too. The popular "we must restart mars magnetic field" trope likes to omit the fact. In the end occassional replenishment of volatiles would probably be cheaper.