Tyson Foods has expressed its relief at a US federal judge's decision to throw out a long-running lawsuit accusing the meat giant of hiring illegal immigrants to depress wages.