Judge upholds lynx habitat in Minn., 5 other states