Set restrict_actions flag for SLURP compilation.