AMENDMENT NO. 4 TO THE THIRD AMENDED AND RESTATED CREDIT AGREEMENT