A clause in a policy of life insurance stating that the policy shall be incontestable after a specified period precludes only a contest of the validity of the policy and does not preclude the assertion at any time of defenses based upon provisions in the policy that exclude or restrict coverage, whether or not the restrictions or exclusions are excepted in such clause.