syntax: fix variable context merge on unreashable branches