Fix #544 issue about SkipVariantInit optimization for elseif blocks

w8 for tests