Collective Structural Relaxation in Phase-Change Memory Devices