After parsing $f$ (in your original induction), we are in the situation that we have two lists of length $n-1$ of terms
$$
t_1 t_2 \cdots t_n\\
t'_1 t'_2 \cdots t'_{n}
$$
and we want to show that $t_1$ and $t'_1$ have to be identical. The question is, how could a suitable induction hypothesis look like. We cannot use $n$ for this. In the end, only induction with respect to the length of the string of symbols seems to have any chance to work.