Action Set Based Policy Optimization for Safe Power Grid Management