cy pres doctrine
noun(cy pres)
a rule providing for the interpretation of instruments in equity as nearly as possible in conformity to the intention of the testator when literal construction is illegal, impracticable, or impossible —called also cy pres doctrine