Thousands of Texas ballots rejected as new laws take effect