Devices for ensuring operation of the switch at a predetermined point in the ac cycle