Add to this that professors seeking tenure benefit from high enrollment in their classes, and nothing spurs enrollment like the reputation of an easy A.
The only solution I can think of to all of this is to maintain a second number along with GPA, which is a weighted average of averages in every class the student took.
Earning an A- in a course where the average is a 2.5 becomes more valuable than getting handed an A in a course where the average is a 3.9.