US supreme court lifts restrictions on controversial voter database