Heinz has struck a deal to sell a UK baby food plant to new local firm Kendal Nutricare.