Validate create index requests' number of primary/replica shards

Fixes #7495

There were also two `CreateIndexTests` files, so I collapsed them into a single one.