The state’s main rail union dropped the work bans late on Monday, less than 18-hours before a critical hearing into the dispute.