How to remove broken threaded water pipe
There is a tool that will remove the pipe. It works on the inside of the pipe so it needs none of the pipe to grab onto. This one set may work, but this is the type I think is more reliable.