FRANKLIN STRATEGIC MORTGAGE PORTFOLIO AMENDED AND RESTATED INVESTMENT MANAGEMENT AGREEMENT