Bashir resigns from chairmanship of Sudan ruling party