Lower shard_map in partial explicit manual mode correctly by using the aval.sharding.spec instead of `in_specs` since the former contain more info (explicit mesh axes too) while in_specs only refer to axes passed in axis_names.
#40776
Lower shard_map in partial explicit manual mode correctly by using the aval.sharding.spec instead of in_specs since the former contain more info (explicit mesh axes too) while in_specs only refer to axes passed in axis_names.
Also add partial manual support to the check which checks if in_specs == aval.sharding.spec (otherwise it errors out).