General Motors chief executive Mary Barra said Thursday that the company would take full responsibility for the faulty ignition scandal and compensate victims of accidents tied to the defects.