You would like to connect them such that each sees exactly the same wire resistance.
You can do pretty well with matched length wires to busbars.
It is also OK to have length of (+) plus length of (-) wire the same for all, even if in some cases (+) is a couple feet longer but (-) is a couple feet shorter.
Another approach, connect as 4 pairs with matched wires. Connect two of those pairs (by opposite corners on each pair) into groups of 4 (same for other two pairs.) Connect two groups of 4 by opposite corners as a group of 8. All batteries see same length to load, and matched wires carry same current.
Class T fuse per battery would be ideal. Or other fuse with AIC rating at least as high as short-circuit current of a battery. Time-current curve needs to be higher than any anticipated surge. (Would like any one battery to be able to carry inverter but that isn't feasible, need at least 3 batteries worth to supply 12kW inverter.)
With 8 batteries and cables fanning in to one inverter, would like wire gauges and fuses such that a short or overload anywhere blows a fuse before overheating wire. That may get complicated with the pairs of pairs of batteries. Simpler 8 cables through fuses to busbar, one fuse through cable to inverter; that starts to look more reasonable.