Congress, controlled by the president’s party, was silent or enabling, even when Trump was steamrolling its prerogatives.