FIRST AMENDED AND RESTATED CREDIT AGREEMENT dated as of October 31, 2018, among COMTECH TELECOMMUNICATIONS CORP.,