The flurry of contract agreements announced early this fall — including two more Wednesday — offer evidence that major railroads and their unions are working to avoid the standoffs that led them to a brink of a national strike two years ago