Don't leak types in enum converter

Addresses issue #502; the enum converter retrieves a parent integer type and forgets to close it.  Also get the supertype and "identical" flag out of the info struct, where they don't belong.