A U.S. appeals court on Tuesday mostly upheld a major federal environmental regulation requiring some states to limit pollution that contributes to unhealthy air in neighboring states.