Design and analysis of multiarm clinical trials with survival endpoints