HomeWildfire Games

Fix computation of clusters and var->let

Description

Fix computation of clusters and var->let

Compare matrix values against undefined instead of relying on || because || does not work as intended when distance is 0.

Differential Revision: https://code.wildfiregames.com/D2761
Fixes: #5761