Former UK premier Boris Johnson resigns as MP