Goldman Sachs to pay $5B to settle financial-crisis claims