Few Shot Part Segmentation Reveals Compositional Logic for Industrial Anomaly Detection