[inductor] Call render() once for templates (#105987)
This is more code, but perhaps easier to understand? Both @Chillee and @ipiszy expressed confusion that we rendered templates twice to reach a fixed point. This removes that.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/105987
Approved by: https://github.com/Chillee