The European Commission has ordered 18 EU member states to collectively repay EUR214.6m (US$312m) in misspent food production funding.