A highly toxic weedkiller not authorised for use in the EU is being exported to developing countries from a UK factory.