what type of government did the ming dynasty have