[red-knot] Improve the unresolved-import
check
#13007
+184
−41
Merged