SEQUOIA MORTGAGE TRUST 2012-4 Mortgage Pass-Through Certificates, Series 2012-4 UNDERWRITING AGREEMENT