I'm assuming the white bulging kinda looks like a union thing is your check valve? I'm used to the Jandy ones so just checking.
There is a way to save your 3-way valve below. Go ahead and cut out the check valve. Your left with a tiny nub of pipe sticking out of the 3-way that you can do nothing with. Ah, but you can!!
You need to remove the glued-in pipe from the 3-way valve so you can glue in a new piece of pipe. There are a couple ways to do this:
How to remove glued pvc pipe. no special tools - YouTube This guy uses fire...literally.
Recover Glued Pipe Fittings - YouTube Thus guy uses a heat gun.
Personally, I use a heat gun to do this but it requires patience. I haven't tried the fire method although it does look much faster and easier.
The Jandy fitting is Schedule 80 so it is thick. It takes some patience to heat it up. You must heat it up evenly spinning around and around and around and around the fitting. It will take you a good 5-6-7 minutes to do it and believe me, it will feel like an eternity. So gut the valve, get a comfortable sitting position and have your screwdriver and needle-nose ready to go. You'll also want a spare piece of 2" (or whatever size you have there) of pipe because you'll want to insert this pipe into the hot valve once the glued-in fitting has been removed. This will ensure that it keeps it shape as it cools. I would sand the sharp edge of the pipe so it goes in easily and doesn't gouge the valve upon insertion.
As you can see in the fire video, you'll want to use the screwdriver to pull away a small section of the pipe so that you can get a grip on it with the needle-nose. Then your roll the needle-nose and pull the pipe away from the wall. It works quite slick. Just be careful with the screwdriver. Do not dig into the valve and mess it up...dig only into the pipe. You may wish to practice on an old fitting you have laying around to get the hang of it before trying it out on your valve.
So you basically heat, test with the screwdriver, heat some more, test, heat, test until the pipe pulls away from the valve easily. The more time you spend heating, the easier things will be.
Also, have a bucket of water standing by with a sponge in it. Once you insert the pipe, you can sponge the hot valve to cool it down or you can just ignore it for a half hour and come back.
Oh, and leaving a nub of pipe in the valve makes it a bit easier to get the screwdriver in there because you can start pushing on the nub to start pulling the glued-in pipe away and keep away from touching the valve body.
- - - Updated - - -
Actually, if he gets a Jandy check valve, replacing it is a matter of unscrewing the face and bolting in a new flapper valve assembly. This is true of all their designs now that I think about it. Forward thinking those Jandy folks!