remove references to now obsolete metrics_index table

There is still a reference in the data migration code. That will be addressed
in a separate task.