The California governor signed the bill five years after he created a task force to study how racist policies have affected descendants of slaves.