Type::max and Type::min now return the correct thing for vector types.