Why don't they treat this cargo under the assumption that it is a liquid and transport it accordingly (e.g. in large barrels)? I mean this question genuinely as someone with little knowledge of logistics.
See also Glückauf, the first tanker designed to transport oil directly in the hold rather than in barrels. https://en.m.wikipedia.org/wiki/Gl%c3%bcckauf_(1886)
I suppose in addition to the measures described in the article, bulk ships could adopt cargo holds divided into more subcompartments (including longitudinally, to reduce risk of capsizing) , similar to tankers.