valid causes to terminate apprenticeship agreement by an employer