Ensure that discretization selection is respected when solving
and exporting.
Merge remote-tracking branch 'chebfun/fix-chebgui-discSel' into development