Judge orders Virginia to restore 1,600 voter registrations canceled in effort to purge noncitizens