Millionaire’s gift triggers inheritance tax trap worth £6m