Rail labor union approves tentative contract