Sir Oliver Robbins will return to the civil service he left in 2019 after overseeing the Brexit negotiations.