Energy compensation‐based approach for solving the HJI equation in the nonlinear H∞ synthesis