Refactor parameter lists of functions (#13594).

Parameter lists are now represented using an explicit list data type.

Change-Id: I56134e01abb12506e2183de26390352f6e234456