Fix problem with piecewise EIGS and cmposeChebfuns. 

Closes #1074.

(Sorry for the dumb branch name.)