The overpayment referred to in the first paragraph is equal to the lesser of(a) the aggregate of all amounts each of which is the amount of a contribution similar to the contribution provided for in section 34 that the employer is required to pay in accordance with the legislation of a government, other than that of Québec, in respect of the wages that the employer pays in the particular year to the seconded employee, is deemed to pay to the employee or pays in respect of the employee; and
(b) the aggregate of all amounts each of which is the amount of the contribution that the employer is required to pay for the particular year under section 34 in respect of the wages that the employer pays in the particular year to the seconded employee, is deemed to pay to the employee or pays in respect of the employee.