In ResolveTypedef, ignore and remove leading spaces