Ryanair's decision to cancel around 2,000 flights was the right decision but the issue was badly handled, the CEO said.