Spokesperson says departing PM will serve out remainder of his term representing Holborn and St Pancras