County changes public safety fund formula, faces pushback from DA’s office