Unlocking Medical Image Segmentation: A Deep Dive into SAM-Driven Pseudo Label Refinement