Dividing up the population into two groups using your favorite method and then demanding that the amount spent on each of the groups is equal is ridiculous. Not only that, but mathematically you almost surely can't even satisfy two people that have that philosophy simultaneously.
What you want here is that the amount spent on a person is conditionally independent [1] of characteristics that are irrelevant to that persons performance given the characteristics that are relevant to that persons performance.