Device Aware Diagnosis for Unique Defects in STT-MRAMs