Fix the computation of h1 and h0 if the auxiliary model (VAR) has a constant. (cherry picked from commit f1bf12c6)