THIRD AMENDED AND RESTATED CREDIT AGREEMENT dated as of August 10, 2012, among HEALTHSOUTH CORPORATION, The Lenders Party Hereto,