California passed a new law under which the state is obligated to apologise for its problematic legacy of slavery and history of racism against black Americans