InstSimplify: Compute comparison ranges for left shift instructions