Remove duplicate routes

You can directly test for equality here. There is no need to compare with all remaining entries.