Fix bugs in routerlist_remove_old_cached_routers_with_id()