(4)A transfer or assignment of a policy made in accordance with section 38 shall automatically cancel a nomination:Provided that the assignment, of a policy to the insurer who bears the risk on the policy at the time of the assignment, in consideration of a loan granted by that insurer on the security of the policy within its surrender value, or its reassignment on repayment of the loan shall not cancel a nomination, but shall affect the rights of the nominee only to the extent of the insurer's interest in the policy.