Java to Kotlin converter: fixed some bugs in switch statement conversion