fix a bug in calculation of p value in group pairwise permutation test introduced in c6b76f1