Dividing a chebfun by scalar 0 was handled inconsistently

* These should now all throw an error: `f / 0`, `f ./ 0`, `f ./ [0 0]` and
`f ./ [0 1 0]`.
* Part of this is fixing a bug of the form "if (vector == scalar)".