California, a leader among states in consumer privacy and protection legislation, is a single signature away from passing a closely watched bill that would require retailers to reimburse banks and credit unions for the costs of data breaches.