Supreme Court rules in NJ’s favor over exit from port watchdog agency