I am in the process of a bathroom remodel, and was replacing a toilet flange that [would have] sat too low into the subfloor when I put new, thicker underlayment and thicker tile than previously. I went at the project incorrectly, and now have a more serious predicament. Here's a picture, for starters...

Name:  outside flange.jpg
Views: 493
Size:  43.5 KB

I was successful in cutting off the top flange, but as I was chipping away at the flange's lip over the top elbow, the top elbow cracked down about 2" into the elbow. That now needs replaced. In an effort to save the second elbow (coming out of the joist), how do I remove the top elbow and the lip that goes over the second elbow? These guys are solvent welded together, so this is going to be a bear....

Thanks for your assistance.
Jeff