Nigeria’s ruling party says chief justice has resigned