Former Dewey partners to pay up to $3m each in settlement deal