I'd think it was flawed even before any ethical considerations, since the environmental factors that the poor tend to be more exposed to that lead to downward deviations from genetic potential have had significant impact before schooling starts (in many cases even in utero), and school performance numbers today basically just reflect the student body (and in very large part the engagement and socioeconomic background of the parents) they are dealt more than outcome differences produced by the school. So, mostly, you'd be spending money to give kids a longer commute.