The European Commission has dropped a long-running legal case against France after its government abandoned long-standing restrictions on the sale, distribution and handling of cereals within its country.