Leveraging Distillation Techniques for Document Understanding: A Case Study with FLAN-T5