US no-fly error ‘allowed terrorist on planes’