Senators rejected a Democratic bill to extend the subsidies for three years and a Republican alternative that would have created new health savings accounts.