Contribution of static crystal-field effects to the line-width in rare earth-doped yttrium iron garnet