Chief: Portland police error 'a terrible mistake'