The retiring US president again alluded to Donald Trump's legal woes before attempting to correct himself at a New Hampshire event.