[DROOLS-339] avoid to create a SegmentMemory in a subnetwork when using Segment prototypes