Method for deleting all routes with output port