US judge extends voter registration date in swing state