Converts an elvis expression ?: to an if-then expression.