Fix 1: make Flambda.can_be_merged more robust