Any person aggrieved by a determination of precinct boundaries by the director may bring a civil action to have the determination reviewed in the superior court. If the action receives final determination within 40 days before the election, the director may not make the required modification in precinct boundaries until immediately after the election.