Industrial action on Sydney trains to recommence 'immediately' after court decision, union warns