Jacksonville's top lawyer resigning