Trump criticized the ruling, saying the judge "should be ashamed of himself," but will hand the venue over to Congress.