The states these senators represent could fix this by doing a recall election on each Senator. Via the AP:
After seven years of emphatic campaign promises, Senate Republicans demonstrated Wednesday they don’t have the stomach to repeal “Obamacare” when it really counts, as the Senate voted 55-45 to reject legislation undoing major portions of Barack Obama’s law without replacing it.
Seven Republicans joined all Democrats in rejecting a measure by GOP Sen. Rand Paul of Kentucky that would have repealed most of former President Obama’s health care law, with a two-year delay but no replacement. Congress passed nearly identical legislation in 2015 and sent it to Obama, who unsurprisingly vetoed it.
Yet this time, with Republican President Donald Trump in the White House itching to sign the bill, the measure failed on the Senate floor. The Congressional Budget Office has estimated that repealing “Obamacare” without replacing it would cost more than 30 million Americans their insurance coverage, and that was a key factor in driving away more Republican senators than Majority Leader Mitch McConnell could afford to lose in the closely divided Senate.