Remove list modification from the parser (#12773).

This change simplifies the parser but removes the support for
list modification functions. List modification will be reimplemented
as a set of functions. Compared to the current solution that will broaden
the cases where list functions can be applied, while keeping the parser
simple.

Change-Id: Iee8ad13101e142cc4ad45fd3e2fe178c3a3d15d2