refactor ContextIndex:empty

ContextIndex's empty function should return an empty ContextIndex
instead if a ContextMap, which is really intended to be an internal type.
remove depricated function from ContextIndex