Rail workers union says it will comply with back-to-work notice, will appeal decision