How to eliminate a three way switch

[removed]