Effects of interventions and optimal strategies in the stochastic system approach to causality