Fix transformFormals when called with a rest parameter and a null param list.