Refactored BMInterface->submit_die_values() to reduce cyclomatic complexity