Ugh. What a PITA to have to install resistors on all the un-used pins. I'm inclined to trash the 4066 altogether and just go with an NO relay with built-in opto-isolator. It's really the right thing to use. I'm just using the 4066 because I had it on hand.
Meh. I guess I could just install one resistor and bridge all the pins through it to ground.