fixed reIndex and system.namespaces entries for partitioned collections

#967 and #982