Find minimal in rotated array.