Rules to make genericLength strict for Int/Integer lengths, see #2962