How do I remove the excess wires from this 2/3 way lighting switch?
I don't understand why you want to get rid of the light switch and replace with relays but I can offer clarification of how your switches work:







simulate this circuit &ndash; Schematic created using CircuitLab

The SPDT switches on the left of the diagram that I have drawn make up the six terminals that you have on the light switch by your door and the third is the switch by your bed.

If you could explain what you are hoping to achieve I may be able to help further.