Gordon Brown's former communications chief will become Keir Starmer's top adviser on the EU