Thousands of voters turned away from polling stations in mandatory ID trials