BUG: Delete pimple before setting
BUG: Delete pimple before setting

The pimple classes are not manages through any type of smart
pointer. So they must be deleted before set.

Change-Id: I0b6ed8a4525048386c6e0cc73a209b52edb53036

hendradarwin/SimpleITK,InsightSoftwareConsortium/SimpleITK,blowekamp/SimpleITK,kaspermarstal/SimpleElastix,blowekamp/SimpleITK,blowekamp/SimpleITK,InsightSoftwareConsortium/SimpleITK,blowekamp/SimpleITK,hendradarwin/SimpleITK,richardbeare/SimpleITK,hendradarwin/SimpleITK,kaspermarstal/SimpleElastix,InsightSoftwareConsortium/SimpleITK,blowekamp/SimpleITK,hendradarwin/SimpleITK,kaspermarstal/SimpleElastix,SimpleITK/SimpleITK,InsightSoftwareConsortium/SimpleITK,richardbeare/SimpleITK,kaspermarstal/SimpleElastix,InsightSoftwareConsortium/SimpleITK,richardbeare/SimpleITK,richardbeare/SimpleITK,richardbeare/SimpleITK,blowekamp/SimpleITK,SimpleITK/SimpleITK,SimpleITK/SimpleITK,InsightSoftwareConsortium/SimpleITK,kaspermarstal/SimpleElastix,richardbeare/SimpleITK,kaspermarstal/SimpleElastix,kaspermarstal/SimpleElastix,SimpleITK/SimpleITK,SimpleITK/SimpleITK,SimpleITK/SimpleITK,hendradarwin/SimpleITK,hendradarwin/SimpleITK,richardbeare/SimpleITK,InsightSoftwareConsortium/SimpleITK,hendradarwin/SimpleITK,hendradarwin/SimpleITK,SimpleITK/SimpleITK,InsightSoftwareConsortium/SimpleITK,blowekamp/SimpleITK,richardbeare/SimpleITK,SimpleITK/SimpleITK,blowekamp/SimpleITK