Don’t follow. What does the direct election of senators by the people have to do with Obamacare?
Recall that 28 states filed suit against Obamacare, a law which passed by a whisker. While state attorneys generals do not act on behalf of state legislatures, it is clear that there was significant state level opposition, and a pre-17A senator would listen closely to what his employers thought of Obamacare.