Use EraseBadMoveTransactions() for name_clean.

Implement name_clean based on EraseBadMoveTransactions.  This removes code duplication and also cleans transactions that are invalid only by game rules.  (In particular, moves of killed players.)