The move will trigger a by-election to replace the former prime minister in his London constituency.