If the thread merely is thrown over, i´ve managed to straighten dent and thread as is.
No heat or anything, just a 5/16" x 24 threaded bolt screwed in there, and a gentle twist/pull back to upright position.
I find that it works best for me, to fix the bolt in the vice, and twist/pull the boiler itself.