Republicans flipped the Senate with projected wins in a number of key races, cementing their majority in the upper chamber.