Remove nested loop indexing Strings instead of TypeMirrors

`TypeElement` name is erased by definition.