California bars AI-only firings as Newsom signs SB 947