AMENDED AND RESTATED AGREEMENT OF LIMITED PARTNERSHIP OF NEWMARK HOLDINGS, L.P.