Segregation and trapping of erbium at a moving crystal-amorphous Si interface