Once you have assigned your master builders onto dismantling the totem, the heathens blocking the mausoleum will turn their attention on your villagers and move towards their position in an attempt to repair the totem.
Once all of them are around the totem, cast a lightning spell to chase them away and assign your villages back to dismantling the totem.
Dismantling the Blocking Totem takes longer than the other totems so having more master builders is to your advantage.
The heathens will eventually come back to repair the totem, so repeat the same sequence one more time.
Keep repeating the same sequence until the totem is fully dismantled.
Once this is done, your villagers will be able to clean up the debris blocking the mausoleum.
The heathens will repair the totem quite fast due to their high numbers, so it's not advisable to keep them near it for too long.
Make sure every heathens are in the lightning radius before casting it.
If there are some orange heathens come to repair the totem, use villagers or bee spell to distract them.
If you don't have any master builder, make adept builders to fix the huts. You can also do research on Construction and Spiritual to make a new hut and the hand statue available for repair.
If you don't have any ready Master Builders, you can skip this puzzle and do others first.