add an index_remove_bypath that removes conflicts

renamed add_from_workdir to match.