UK retail giant Tesco has won a partial victory in a long-running Office of Fair Trading investigation into dairy price-fixing.