The state’s popular mail-in voting law survived a legal challenge.