Local Structure Of Metastable Defect Complexes And Phase Transitions