Dems spending millions to try to take back statehouses