NBC News: Republicans made substantial gains in state legislative battlegrounds