Iterative pruning in second-order recurrent neural networks