fix M-. on ambiguous references

This previous commit, 'fix M-. and autolink on [SYMBOL][]', made M-.
always go to the first match if a reference had multiple
definition (for example, when there is a generic function and
methods).