Another option is aggressively tutoring students who fall behind. Finland does this to great success. I'm not sure what the ratio is now, but at one point there was a tutor for every 7 students on average in Finnish schools. You're absolutely right that it would be costly and politically difficult.