Infinite‐order functional for nonlinear parameters optimization in explicitly correlated coupled cluster theory