rm: make InteractiveMode derive Eq