General Motors has reached an agreement with the government to let consumers file what are known as product-liability claims after the company escapes from bankruptcy protection. The big win for consumers means that if a manufacturing defect in an old G.M. causes injuries in the future, consumers will still be able to sue G.M. in state court.