[ms] fix planning bug with rewritten constants: when removing some source for a const due to relation constraints, we should propagate this change to other constants coming from the same original variable
"""pre 3.6 bw compat"""# pylint: disable-msg=W0614,W0401fromwarningsimportwarnwarn('moved to cubicweb.mixins',DeprecationWarning,stacklevel=2)fromcubicweb.mixinsimport*