Ryanair loses court battle to block UK pilot strikes