Make letremoveunused work for recursive lets again.