There is no perfect answer to questions of policy. This article explores that fact. It gives us a handy way of framing the realistic choices we face in setting the bar for discrimination cases:
You can either set a high bar for evidence of discrimination, knowing that it will unfairly deny compensation to lots of people who were treated wrongly. Or you can set a low bar, knowing that this will unfairly give money to lots of people who don't deserve it.