Topological inversions in coalescing granular media control fluid-flow regimes | Synapse