Grind what’s left flat. Depending on where it’s broken, if anything protrudes out of the head cut the head off a bolt and weld it to the stud. Now use a spacer outside the stud and use a nut on the bolt to pull the broken stud out. It helps to heat the stud boss to release the stud. If it’s broken flush with the head, then grind it flush, centerpunch and drill the stud. Keep checking till you break through the bottom of the stud. You should feel it break through. Drill to just under the diameter of the stud, you should be able to collapse it in just enough for it to lose its press fit.