split sqrs/negs scalar and simd, add kludge for UBSan for sqrs