AMENDED AND RESTATED AGREEMENT AND DECLARATION OF TRUST of NYLI CBRE Global Infrastructure Megatrends Term Fund (a Delaware Statutory Trust) Dated as of August 28, 2024