Bound primitive visitor for if else generation to the selector ifElse/3.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>