core: Clean up XXXes
rustc: De-XXX resolve and borrowck...

and remove an un-needed hashmap from resolve
auto merge of #4944 : catamorphism/rust/xxx-to-fixme, r=catamorphism