Judge Eumi K. Lee's ruling applies specifically to Alibaba Group Holding Ltd.'s lobbying restrictions without removing the firm from the military blacklist or invalidating the law universally.