There are special drill bits made to bore out the old pipe within the fitting. You cut the pipe off flush and drill out the old pipe.There are several brands with Ram bit being popular around here. Check with a good plumbing supply house, not a big box store. These are professional tools for professionals.