Mary Barra, the chief executive officer of General Motors, testifies before a congressional panel looking into problems with ignition switches in the company’s cars.