Allow redundant commas in various places

It looks like all comma-separated lists except function calls allow an extra
comma at the end.