Modified mean‐field model for rare‐earth–iron amorphous alloys