Rogue behavior is often a goal-setting failure. Three management practices help keep autonomous systems from optimizing beyond a leader’s real intent.