Gravar-mail: Intermittent collective dynamics emerge from conflicting imperatives in sheep herds