use full position of `EImport` for errors not related to imported type itself (closes #3457)