finished synchronization of hypothesis (maintaining valid
types and trends) when repeated measures are removed or
the number of measurements changes.  Also some minor fixes
when predictors are removed