BUG: fix use of np.max in stats.fisher_exact

fixes #3014