Update collapsing by orthologies and equivalencies
Update collapsing by orthologies and equivalencies

Refactor common code for collapsing by orthologies and equivalencies

pybel/pybel-tools,pybel/pybel-tools,pybel/pybel-tools