Have you tried creating a matte of your plate and then using a track matte method? If it were me I’d probably create a garbage mask around the shadow edge, apply something like colorama to get my matte and then use that data as a track matte for my CG shadow.
If there is any falloff on the original shadow then the matte should pick this up and blend it really well. Hope this helps!