As a reasonably recent graduate of the flying school sausage factories, my understanding of the rules is that when instructed to 'leave the hold heading xxx' one should continue the hold then leave on that heading next time over the holding fix. If instructed 'fly heading xxx' then that should be carried out immediately. Suppose its down to how the instructions issued.