Improve error message when r.reconfigure() is called with zero replicas. Fixes #3314.