Improving Medical Image Classification Accuracy Through Unsupervised Segmentation and Confounder Mitigation with Limited Data