This averts a strike or lockout that could have begun Wednesday, with flight cancellations likely before then