In IVy's source code, modify ivy_to_cpp.py to enable the generated C++ code to stop after seeing the first idling transition.