Percolation model for elastic softening in intermetallic compounds during solid-state amorphization.