Exploring cosmic origins with CORE: gravitational lensing of the CMB