It's not discrimination if you can change it.
The difference between someone with a college degree and without is the work they put in. That seems like a pretty reasonable thing to base a hiring decision on. Your suggestion is like saying 'you shouldn't be able to discriminate based on work experience'. The difference is college is 4 years of reading books and taking tests vs 4 years of writing code.
You can argue which one is more valuable / relevant / useful, but they're just different kinds of experience. Not allowing that in a hiring decision is flat out unworkable.