A Heinz production plant in the UK is set to close after the end of the US food group's licence to manufacture Aunt Bessie's frozen potato lines.