fix edge removal and add test
don't print the semimetric label in the final result