The rail union has backed down on plans to undertake new industrial action over New Year’s Eve after a last-ditch legal bid by the NSW government.