Ryanair canceled hundreds of flights last year due to problems with pilot scheduling, and strikes have led to more cancellations this summer. European Union rules require compensation for canceled flights unless cancellations result from issues outside the airline’s control.