After deleting shadows it is necessary to do repeated smoothing of edges for alignment of borders between classes.
Raster of classification after smoothing the edges of raster areas: