On the correlation between microscopic structural heterogeneity and embrittlement behavior in metallic glasses