FOURTH AMENDED AND RESTATED CREDIT AGREEMENT dated as of May 4, 2017