California gun bill fails on tactical error in Legislature