How to remove all BAM read groups from all reads (not just the header)?
You might have to manually strip those auxiliary tags off:

samtools view -h your.bam | grep -v "^@RG" | sed "s/\tRG:Z:[^\t]*//" | samtools view -bo your_fixed.bam -


The sed bit is searching for the aux tag and removing everything up to the next tab.