Fix silent overflow in tf.range
What if the value of `delta =1` ? It still same problem as earlier it seems. Sorry, I don't have enough time to work on this at the moment.
If anyone wants to take over feel free to do that, otherwise I might come back to this later.
Fixes #64081 