Getting the end face flat again is the hardest bit, as you say, heat the last bit to bend it a bit, then use a bench grinder, and wet and dry to finish it off.
You can shorten it a small amount by heating the last 3 coils or so red hot to destroy the temper, and pushing the end onto a steel plate. This keeps the end, but means you have to retemper it.

Gus