US clothing giant Abercrombie & Fitch has agreed to pay $50 million to settle claims that it discriminated against minority staff.