It's a quandary only for them because they have twisted hearts. Indeed if they don't pass it and try to obstruct it during an alection year they might as well just go ahead and resign. On the other hand if they pass it Trump will have done something good and somehow they think that's a bad thing. Logically speaking they should just work with Trump and get it done, thus attaching their name to the dividend and some of the credit and focus their campaigns on more localized issues. It's not immediately obvious to them, but actually it be smarter for them this way since stopping the dividend is guaranteed to tick people off agaisnt them, but by simply passing it and getting it out of the way as fast as possible, they could then focus on other issues that would be more favorable to them since the midterm elections are moreso state and local level. That is though presuming they're smart, which after the Shutdown they caused, we can't neccessarily be too sure of that.