Found this other thread, which recommends rebooting your hub when an inclusion fails in this fashion: Z-Wave inclusion issues
And, I had this same kind of inclusion failure with a Fibaro motion sensor. I rebooted the hub, and then the motion sensor included fine.
Later today, I hope, I'll go back to the test bench and see if I can get the switch module included using that technique. It sounds like from the other thread the problem has been reported, but it still seems to be in the code.