Fresh Del Monte Produce has agreed to settle a lawsuit accusing the US company of discrimination against Thai workers working for it in Hawaii.