Costmodel: Add support for horizontal vector reductions