major macdonald had fallen into the deeper hole at the end , where he lay curled up like a hedgehog , arms clasped protectively over his wig-which had remained in place by some miracle , though now much bespattered with dirt and bits of grass .