PUTNAM MANAGED MUNICIPAL INCOME TRUST SECOND AMENDED AND RESTATED AGREEMENT AND DECLARATION OF TRUST