In the game settings, I selected the option to not have characters auto-attack when attacked or when their current target dies. It works when they are attacked - they stand there and do nothing, but when their current target dies they will charge willy-nilly right at the next closest enemy.
Super annoying for trying to maintain defensive lines, keep a choke-point held, or stay out of AOE target areas. Please fix.