United reaches preliminary, 4-year labor deal with pilots, with up to 40% raises