California, Elk Grove reach settlement over affordable housing project