Mahmoud Khalil won an important legal victory on Wednesday as a judge moved his case to a New Jersey court and extended a block on his deportation.