KT-4159: Kotlin to JS compiler crashes on code with ?: return

KT-4159 fixed, tests added