Fix chebfun2 construction from scalar function handle.

Closes #928.