The move will mark one of the most significant law-firm relocations in Boston since the start of the pandemic.