Brazilian meat giant JBS has saved a processing plant in the US from closure via a lease agreement, with a view to taking ownership.