interp: move ParamExp code to separate func
interp: move ParamExp code to separate func

Since it's too complex to keep in the same func and with two extra
levels of indentation.

mvdan/sh,mvdan/sh,mvdan/sh,mvdan/sh