1st, correct the typo, you should have ‘Complete’ instead of ‘Complet’ in the 2nd login expression.
2nd, role shown by WordPress as a ‘primary’ role should be the 1st in the roles array (have index 0). So remove all roles from the user, then add ‘instructor’ role. It will become a primary this way. Then add ‘participant’ role back as a secondary role.