How to remove stripped torx bolt?

Unless the bolt is cross-threaded or otherwise jammed into the threaded hole it will be free to spin once the head is gone. Drill the head off the screw, there will be nothing holding the threaded shank to make it tight, it should screw out easily.