Refactored subtour elimination cuts