Improved margins at its dairy business and an "aggressive" investment strategy have propelled Land O'Lakes first-half earnings.