Senate approves bill to avoid rail strike during holiday season