Make namespace typo correction always deterministic

Without this patch, if there are two different but valid namespace qualifiers for reaching the same decl, which one was used was determined by the (undefined) order the namespaces were checked for the identifer. This patch adds a simple heuristic that keeps whichever version would come first lexicographically.

Cheers,
Kaelyn

ns-stability-fix.diff (737 Bytes)