An H3 index stores its resolution in bits 52–55 and one 3-bit digit per resolution, unused digits
set to 7. The parent at resolution res is therefore the same index with the resolution field
rewritten and every finer digit set to 7 — pure bit arithmetic, which a browser without the h3
extension can run. Verified against h3_cell_to_parent() in the tests.