code: Optional<PackingPlan.InstancePlan> removeAnyInstanceOfComponent(String component) {
      Optional<PackingPlan.InstancePlan> instancePlan = getAnyInstanceOfComponent(component);
      if (instancePlan.isPresent()) {
        PackingPlan.InstancePlan plan = instancePlan.get();
        this.instances.remove(plan);
        return instancePlan;
      }
      return Optional.absent();
    }
docs: Remove an instance of a particular component from a container and update its
  corresponding resources.
  
  @return the corresponding instance plan if the instance is removed the container.
  Return void if an instance is not found