If they are not broke might consider just leaving them in. If you must take them out or if you broke one off, first try welding a nut on like you said, it is my preferred way of doing it. Turn the heat up high so you really get some heat in it and good penetration, mig welder really is the best for doing this. Let it cool couple of minutes hit it with some good knockerloose, wd etc. I also tap on stud with hammer and start working it with a wrench. Youll either start to make it move or you'll break the nut off. Sometimes have to weld another nut or two on it but I almost always get them out. Last resort is file the stud flat, get a good sharp center punch and make sure you get it centered. Then drill and try easy out. If hole gets damaged you still have some options, could drill and tap to larger size stud or use heli coil inserts. Kind of up to you if not broke you may just want to run them.