Dean Foods has agreed to dispose of a Wisconsin dairy and brands it acquired from Foremost Farms in order to settled a competition lawsuit backed by the US Department of Justice and three states.