Support for EIP-712 in library and `trezorctl ethereum sign-typed-data`