A Semantic-Oriented Decomposition for Non-Manifold Shapes