Fix BN_kronecker so that it works correctly if 'a' is negative