The Senate has voted to a avert rail strike, forcing workers to accept a tentative agreement President Biden helped negotiate months ago.