Multiple pathways for permanent deactivation of boron-oxygen defects in p-type silicon