Upon petition by the trustee, the attorney general, or an interested party other than the settlor, the court may modify the administrative or dispositive terms of a trust or terminate the trust if, because of circumstances not anticipated by the settlor, modification or termination will further the purposes of the trust.