With 700 positions unfilled, San Francisco outlines staffing overhaul for PD, sheriff’s office