A preliminary report has blamed a software defect for the cancellation of over 2,000 flights in the United Kingdom last week