Mahinda quits politics