Remove dead code from invoke_policy
Use deque for not_prioritizing policy