Fixed erase<> metafunction for typemaps.

This got messed up when merging the internal typelist:: and typemap:: namespaces.