Replaces a return statement which uses a boolean expression with the equivalent if-then-else statements.