Fix dataclasses with ``InitVar``\s and :func:`~dataclasses.replace()`. Patch by Claudiu Popa.