Speeds up find(AllBindings|AllTreesWithSamePosition|SymbolForImportSelector)

+cosmetics
fixes #1001905 **partially**

In my tests, drives the test case in the original bug report down from
7.79s to 2.90s.