simplifySign now covers a few more sign combinations that might arise.
And in particular, it strips a standalone sign with no number,
which simplifies sign flipping with amount-in/amount-out.
A reusable library containing hledger’s core functionality. This is
used by most hledger* packages so that they support the same common file
formats, command line options, reports etc.