[INTERNAL] m.Switch: move DOM validation from .setState() to
.setDomState()

Change-Id: I3f830b4327e354eba8aa648d93abd0000132bfa8