PRINCIPAL FUNDS, INC. AMENDED AND RESTATED SUB-ADVISORY AGREEMENT SMALLCAP VALUE FUND II AND MIDCAP VALUE FUND I