Bill limiting union representation survives tight Senate vote