Attorney general announces settlement with former refinery owner