An immigration judge in Phoenix threw out a deportation case against four Arizona students on Thursday , ruling that they were illegally interrogated by immigration authorities during a high school trip they took to Niagara Falls three years ago .