OneWest Bank has agreed to settle allegations it discriminated against minority borrowers.