St Philips barrister resigns to stand for BNP in general election