A generalized quasi-chemical model for ordered multi-component, multi-sublattice intermetallic compounds with anti-structure defects