Reproduces on master.

```
SELECT toDateTime64('2021-03-22', 3, 'Asia/Tehran')

Query id: 26f7c373-f473-4209-8976-6ada79a8627f

┌─toDateTime64('2021-03-22', 3, 'Asia/Tehran')─┐
│                      2157-04-28 06:28:16.000 │
└──────────────────────────────────────────────┘
```
{
        const LUTIndex i = toLUTIndex(v);
        
        return toYear(toLUTIndex(i + 4 - toDayOfWeek(i)));
    }
    
    
    
    template <typename DateOrTime>
    inline LUTIndex toFirstDayNumOfISOYearIndex(DateOrTime v) const
    {
        const LUTIndex i = toLUTIndex(v);
        auto iso_year = toISOYear(i);
        const auto first_day_of_year = years_lut[iso_year - DATE_LUT_MIN_YEAR];
        auto first_day_of_week_of_year = lut[first_day_of_year].day_of_week;
        return LUTIndex{first_day_of_week_of_year <= 4
            ? first_day_of_year + 1 - first_day_of_week_of_year
            : first_day_of_year + 8 - first_day_of_week_of_year};
    }
    template <typename DateOrTime>
    inline ExtendedDayNum toFirstDayNumOfISOYear(DateOrTime v) const
    {
        return toDayNum(toFirstDayNumOfISOYearIndex(v));
    }
    inline Time toFirstDayOfISOYear(Time t) const