They only pop out either on passing a scripted line, or when you hit them. So, one way to take care of the majority of them is surprising the ones that don't activate until hit with stuff like charged blitz needle shots to their face or 2x brandish charges.
Secondly, for whatever reason, they act like mechaknights when stunned.