a federal appeals court on friday let stand the environmental protection agency 's 1984 denial of petitions from maine , new york and pennsylvania seeking action against acid rain originating in smokestacks in the midwest .