Simplify a conditional branch.