Ignore type definitions which are redundant with existing type defintions

Better attempt at  https://github.com/JuliaLang/julia/pull/5280#issuecomment-31453024.
Doesn't yet handle recursive type definitions.