A trust provision, express or implied, that the trust may not be terminated is ineffective insofar as it purports to be applicable after the expiration of the longer of the periods provided by the statutory rule against perpetuities, Article 2 (commencing with Section 21205) of Chapter 1 of Part 2 of Division 11.