Negates a bdd.
Negates the BDD r by exchanging all references to the zero-terminal with references to the one-terminal and vice versa.