Oil refiner agrees air pollution settlement