THIRD AMENDED AND RESTATED CREDIT AGREEMENT dated as of June 29, 2017 among BORGWARNER INC., as Borrower