index_remove_bypath function

Remove an index entry corresponding to a file on disk