The agreement aimed to settle complaints that the company’s workers were being denied the rights of free association and collective bargaining.