An effort to end cash bail in the state has cleared a major hurdle in the state legislature. It calls for changing the way defendants are released before trial.