Reindex and friends fail nicely when max_docs < slices (#54901)
When the parameter `max_docs` is less than `slices` in update_by_query, delete_by_query or reindex API, `max_docs ` is set to 0 and we throw an action_request_validation_exception with confused error message: "maxDocs should be greater than 0...".
This change checks that whether `max_docs` is less than `slices` and throw an illegal_argument_exception with clear message.
Relates to #52786.