If you have a soldering iron, just hook the tip into the middle of the nut and push them into x-end, holding them for a while. ABS is relatively heat tolerant, and a typical electronics soldering iron isn't going to heat up a nut enough to damage it. Generally, you don't even need to do that, since the nuts are being forced down by gravity.
Which version of the x-ends do you have? The box version, or the single plate? The box version you can just loosen the nuts and pry them out with a segment of smooth rod. With the single plate version, you'll have to gently work them over the small ledge and slide them out. Neither should be too difficult. Also, if you're losing bearings, make sure you have linear motion rod and not drill rod (which may be slightly oversized for LM8UU's), and that your parts are very cleanly printed and well aligned.