It is hard to see how providing free legal services to some welfare claimants (those whose claims do not challenge the applicable statutes) while not providing it to others is beyond the range of legitimate legislative choice.
It's difficult to understand why some on welfare can get free legal services while others can't.