The clean_history management command to remove excess courseware_studentmodulehistory records.