AMENDED AND RESTATED CUSTODY AGREEMENT by and between SEQUOIA FUND, INC. and THE BANK OF NEW YORK MELLON