The European Commission has threatened legal action against the UK government, demanding that it scraps rules exempting from excise duty the sale of cider and perry made by small producers.