Republicans win a Senate majority