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