Implement "unsafe" replaceAllUsesWWith stuff for use during type resolution.