Revert "fixes #613 SERVER-8173: add a new IndexPathSet class to make checking if a mod will udpate index more reliable"

This reverts commit 54563eb0634ca2f86c48e6a4ffd6221d3d613989.