Fixed empty tableau optimisation and fixed hashCode in Pile