Justices lift decision to block president’s order to restrict eligibility to a new federal list of voters