The president can’t unilaterally carve out new exceptions in deciding who gets to be a citizen, judge rules