California’s nonprofits dragged into fight between unions and local governments