I have not studied the etymology of “compunction” but I do see the similarity to “puncture” in it. Even in German, “Punkt” is a “point” which can apply to physical objects such as swords. Could the usage be in the realm of a sword “puncturing” Mary’s soul?