sclang: specifying inconsistent parameters for an arithmetic progression throws an informative error. This fixes #882.