Move MAX_REF_DOMAINS to lsa.idl.