Inspect the layers
Select a hairline point away from natural wisps. Compare its RGB values over two known solid backgrounds while keeping the foreground unchanged.
Measure the pixel change against the background change. Inspect the alpha channel at the same coordinate to see whether that response is plausible.
Controlled edge example
With fixed foreground, changing the background by 100 codes changes a composite pixel by 20 at 80% coverage. The implied uncovered fraction in this linear example is 20%.
Which part of the composite to repair
Correct coverage only where the underlying plate should be fully hidden. Keep genuine thin hair responsive to its background and adjust an actual painted shadow separately.