fixed operations andThenBool and orElseBool

fixing https://github.com/kframework/k/issues/1090

@andreistefanescu please review