WestJet Encore pilots have given the green light to a deal with their employer, averting a strike at the regional airline.