Some cities and states are throwing out single-family zoning to increase density and create more affordable housing.