Multify if-statements during vectorization