isl_transitive_closure.c: set_path_length: avoid NULL pointer dereference