In blow to green groups, 9th Circuit upholds federal plan fo