Nigeria power minister says he quit to save integrity