Fix check fail in TensorScatterUpdate Op
This PR is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. This PR was closed because it has been inactive for 14 days since being marked as stale. Please reopen if you'd like to work on this further.
The Op `TensorScatterUpdate` checkfails if the rank of updates is lower than the rank of indices -1. 

This will happen from this code below.
https://github.com/tensorflow/tensorflow/blob/0f7eb923815f4fd82321dda01bab45b493227d58/tensorflow/core/kernels/scatter_nd_op.cc#L169-L172

From above code the loop will iterate over `indices.shape().dims() - 1` times and checks whether `indices.shape().dim_size(i) == updates.shape().dim_size(i)`. Suppose if indices is a 3D and updates is 1D this will cause checkfail when i=1.

May fix #63575 .