Remove trailing comma after keyword expansion