Any ambiguities in this chapter shall be construed in a manner consistent with federal laws applying to the employment security department. If any provision of this chapter or the application thereof is held invalid by a final decision of any court or declared by the secretary of the department of labor of the United States to be inconsistent with federal laws upon which funding of the employment security department is contingent, the invalid or inconsistent provision shall be ineffective only to the extent necessary to insure compliance with the court decision or federal determination and the remainder of the chapter shall be given full effect.