MASTER REPURCHASE AND SECURITIES CONTRACT AGREEMENT among MORGAN STANLEY BANK, N.A. as Buyer and TPG RE FINANCE 12, LTD. as Seller