Industrial action averted, pay talks completed at York factory