Hey Chris and Welcome !! The bad news is you are replacing the entire wishbone. Both sides need to be dug down to clean pipe, and spliced new, including the T and into the pump. We always recommend to leave plenty to splice to down the road for this exact reason. Sometimes, like now, you can only do so much to make it better for next time.
The good news is that pvc is dirt cheap. Use repairable valves though and you'll never have to cut the pipe again to fix them. Either pentair valves, or jandy never lubes.