Allow me to scare you with my story:
Same situation. Exhaust stud. One inch left.
WD40, Liquid wrench, and Break-Away all failed me.
The propaine torch just didn't have enough heat.
The welding torch also didn't have enough heat.
Two nuts, locking each other on, only proved to recude the size of the stud as it broke off in ever shorter increments.
Vise grips... Ha, ha, ha, ha......... no.
Taking a saw and cutting slot in the end to try an use an impact driver didn't work.
the stud remover that Twotired listed (which I should have tried much earlier in the process) also did not work.
Drilling and re-tapping... now that worked.
You may have better luck with any or all of the above, and I never thought of the EDM process. Just becareful with your engine and acknowledge when it is the proper time to give up and drill. You do have one advantage over me. Your engine is coming out of the frame, mine was in when it happened.
Good luck.