Spanish olive oil cooperative Hojiblanca has agreed a deal to acquire a near 10% stake in local rival Deoleo.