AMENDED AND RESTATED AGREEMENT AND DECLARATION OF TRUST of TRUST FOR ADVISED PORTFOLIOS