OEDGE modeling of DIII-D density scan discharges leading to detachment