Replaces uses of boolean values with equivalent if-then-else statements.