The settlement comes over a decade after the first concerns were raised publicly about the sheriff’s department’s confidential informant program, which investigators found broke multiple laws.