It means "to hell with it". "Pa" is the short colloquial word for "para" (for) and "la" is "the" (feminine) and madre is used to denote the utmost negative of anything.
Synonyms of pala madre are to hell very hard the utmost
Used in US as well
"En combate les dieron hasta la madre (in battle they hit them to hell (really hard)"