Binary black holes in the pair instability mass gap