Revert "Record index map values"

This reverts commit 10c2273a5ef8f2e4649b4f356e75d723382a33a9.
Revert "Track all index keys"

This reverts commit 39059bb18d4003ba85d04c4d5831a7baebdb9202.
More explicit name for match indexes
Rename keys to map
Extract findByPrototype helper
Make parseSelectorIndexes internal