The U.S. Supreme Court handed President Donald Trump a painful defeat on Tuesday by rejecting his move to restrict birthright citizenship on the final day of its momentous term, while also letting states ban transgender student athletes from women’s sports teams and striking down more campaign finance limits.