General Motors CEO Mary T. Barra testified on Capitol Hill Tuesday, speaking before a House panel that is investigating how the company handled problems with its vehicles’ ignition switch.