On the Effectiveness of Distillation in Mitigating Backdoors in Pre-trained Encoder