Solution to tyranny of the majority
A solution to the problem of tyranny of the majority in any association is: allow anyone to quit the association it belongs to presently.
If any minority doesn't agree with the rules/laws being passed they should be free to abdicate their membership to the group, weather it's an informal club of friends or a nation.
In fact that's what happens with the vast majority of associations, except for nations. That's where it's severely lacking. Even international organizations that countries are part of generally allow for the abdication of membership.
Actually, I think that technically, many countries allow for abdicating one's citizenry, the problem is that no country allows for someone without a citizenry of an existing country to be or come into their country. So presently the only solution is becoming a citizen of some other existing country.
But what if no country is suitable? With any other association or business one can simply start our own. Not so with countries. Well I think it should be allowed.
All countries should allow one to declare one's private property a sovereign nation. And possibly/preferrably also change regions within a country, like allowing one's private property to become part of another state/district/county that's more in line with our preferences, if the state/district/county accepts us of course.
One could also start our own state/district/county as long as the higher level of governance we are still a part of agrees. Or have an entire region decide to become part of another, higher level, region. Like California decide to become a part of Canada instead of USA as long as Canada accepts them of course. Or California could declare themselves a sovereign nation.
So basically the same for all levels of association from clubs of 2 people to entire nations and international associations of nations. Like some members of UN could decide to make their own "UN".
Freedom of association
Freedom of disassociation.
(Note: I realize I probably am not using the correct words regarding countries, nations, citizenry, national, etc. but I don't know the exact terms and I believe anyone understands the underlying point I'm making.)