California leaders pledge new law to address gun ruling