Revert "Introduce the ClassIndex. This uses a reg.Map in its implementation."

This turned out to be a very imperfect implementation. The real
implementation of this is on the neopredicates branch.

This reverts commit 2a4359e1027a759d85ff6288fbd0c2afa790c7f1.