Cruz says the passage alone changed the subject from the shellacking Dems took in Virginia's gubernatorial race