A veteran prosecutor has tentatively settled his lawsuit against Los Angeles County alleging he was demoted for bucking former District Attorney George Gascón’s controversial sentencing directives.