Ab initio multishell valence-space Hamiltonians and the island of inversion