improved isAssignableFrom between IRSimple and IRLocalTypes 

if they have the same name then they are seen as the same