UK dairy co-operative First Milk has posted a half-year pre-tax profit after booking a GBP9m loss last year following a flawed strategy on milk prices.