Complete energy transfer due to rare-earth phase segregation in optical fiber preform glasses