Model for ductility-enhancement in the L12 intermetallic compounds