Posts claiming that President Donald Trump had pledged to end dual citizenship are circulating on social media.