DOC: specify that array must be non-empty in np.poly error message.

Fixes #2092. Changes message to ValueError.