fix(kernel/metavar): bug at cached_metavar_env::update method

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>