Registration mix-up ensnares thousands of California voters