THIRD AMENDED AND RESTATED FEE WAIVER AGREEMENT PIMCO Funds Newport Beach, California 92660 May 16, 2018