rustc: Purge of HashMap, fixing segfaulting cases

Various XXX comments added around to denote copies which when removed cause the
compiler to segfault at some point before stage2. None of these copies should
even be necessary.
test: Remove uses of oldmap::HashMap
Move ast_map::map to LinearMap
std: Remove the oldmap module