US appellate judges uphold some restrictions on abortion drug in case bound for Supreme Court