Loss of mutualistic interactions loosens restrictions on evolutionary history in legume plant communities