Surface modification in electrodischarge processing with a powder compact tool electrode