Don't allow orphan COMPLETE pragmas (#13349)