Two ways: 1) Cut out the amount of wire you want to remove from the harness and solder the wires back together using heat shrink on each wire or 2) open the case of the ESC, desolder the switch wires from the board and cut them to the length you want and resolder to the board.