LexicographicForCompositionExtraPlanRemover did not remove the joint
plans from the JointPlans container. This was not a (visible) problem
when the joint plans were only kept in the cache of the individual
plans, but it is one now that we need to use the map even for plan with
a cache.