The amended law was an attempt by state Republicans to crack down on unproven claims of voting by noncitizens.