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