Exact matroid parity and polynomial identities