Closes https://github.com/zcash/zcash/issues/3636 where a tx with multiple joinsplits would not be parsed correctly.