Dairy giant Arla Foods closed its half-year in line with expectations, despite a "challenging environment" and a loss in revenues.