Structural instabilities and magnetic relaxation in amorphous ferromagnets