House votes to override a pair of Trump vetoes were an unusual bid by some in the G.O.P. to assert their own branch’s prerogatives. But they fell short.