The all-stock merger of the Waltham-based defense contractor and the Connecticut-based industrial giant is set to close this week.