The situation after trick 8 was
I (South) led ♥3, dummy played ♥J and North played ♥8 instead of ♥Q. Result: -3 doubled instead of -4 doubled.
This post is not about the so-called stupid play by North. As South, I defended it very badly as well. The GIB's play begins to make sense because from North's perspective all plays are equal; it expects me to hold ♥43 ♦2 ♣JX and declarer to hold ♠KQ84 ♣X.
My suggestion is simply whether GIB can be trained to play the highest affordable card when it knows all plays are equal. Here the play of ♥Q is zero cost if the layout is as the North GIB expects it to be but with positive payoff if I really held a doubleton ♥. This becomes especially relevant when partner may have been squeezed for options in the bidding due to the opening preempt by opponent.