Fixing treestore.py rm to use model.remove_statements_with_context and avoid segfault that occurs when iterating over model statements while deleting.