Recruitment of genes and enzymes conferring resistance to the nonnatural toxin bromoacetate