Pattern formation during electropolishing