optax.ScaleByTrustRatioState