Ethanol company agrees to fine for pollution violations