The agreement comes one week from when WestJet Encore pilots are scheduled to strike