Brazilian meat giant JBS has struck a deal to buy local pasta manufacturer Massa Leve.