Fix Topology#shard_for_id to be deterministic while a shard split is in progress