Leibniz's solution to the puzzle of Lex Falcidia