Plasmid-encoded toxin defence mediates mutualistic microbial interactions