Hundreds of flights were cancelled on Tuesday amid a technical problem at the National Air Traffic Service.