White House officials acknowledge that the president would all but have to sign legislation punishing Russia for its election interference.