Return minimum height of any window when splitting windows. Optional argument HORIZONTAL non-nil means return minimum width.