For the purpose, however, of granting consent or approval to modification or termination of a trust or to deviation from its terms, including consent or approval to a settlement agreement described in section 7111, only the holder of a presently exercisable or testamentary general power of appointment may represent and bind such a person.