Co-option of pre-existing pathways during rhizobium-legume symbiosis evolution door