[TIMOB-13191] Added proper support for returns in ambiguous blocks