A U.S. Senate Republican plan to repeal and replace Obamacare failed to get enough votes for approval.