rm: make InteractiveMode derive Eq

Simplify ```rm``` a bit.