It's one thing to accept the free market causing this sort of segregation as the collective result of individual choices, quite another to suggest that the government ought to be using regulatory power to help enforce the creation of invisibly gated communities. It's a great wrong -- in particular, the impact it has re: school districts -- that it is long past time be rectified.
That said, there is much more to be done. While going from SFH's to fourplexes or small apartment buildings is usually fine by itself, greater levels of density usually need changes to infrastructure and transit service and other parts of zoning to accommodate the increased population.