agent: ensure service maintenance checks for matching partitions ahead of other errors (#11788)
agent: ensure service maintenance checks for matching partitions ahead of other errors (#11788)

This matches behavior in most other agent api endpoints.
hashicorp/consul,hashicorp/consul,hashicorp/consul,hashicorp/consul