Worker to sue over railway incident that led to foot amputation