Lawmakers bickered, protesters shouted and senators came to take in the moment as a House committee considered a critical portion of a bill to enact President Trump’s domestic agenda.