Improve checking for inconsistent observations and forbidden tau.

Two observations are inconsistent when they have a different number of
cells.