Update plugins/org.eclipse.jst.server.tomcat.core/tomcatcore/org/eclipse/jst/server/tomcat/core/internal/xml/server40/ServerInstance.java

Fixes the removal of modules with multi-level paths. The patch copies the fix from the TomcatVersionHelper class where such multi-level paths are created.