Update partitioner test to test V2 control flow ops. And fix a minor issue in tfrt while op.
Update partitioner test to test V2 control flow ops. And fix a minor issue in tfrt while op.

PiperOrigin-RevId: 353288540

tensorflow/runtime,tensorflow/runtime,tensorflow/runtime,tensorflow/runtime