French dairy giant Lactalis has announced it has reached an agreement that means it can now complete its acquisition of a South American peer.