Fix cleanup_language

- Run iso1_to_iso3 conversion first, since "En" is the reference
  name for code "enc"
- Remove duplicates caused by language fields with code and
  reference names for the same language