AMENDED AND RESTATED AGREEMENT AND DECLARATION OF TRUST OF JOHN HANCOCK PREFERRED INCOME FUND Dated: January 22, 2016