Detect if a path is part of a sharded SafeTensors model.
Pair of (isSharded, indexPath) or (false, null) if not sharded
Path to check (can be index file or shard file)