Irish food company Kerry Group is to close a frozen ready-meals site in the Welsh town of Flint, with the possible loss of over 300 jobs.