Implement PEP 728 closed TypedDicts in mypy: the closed flag and extra_items, with checking of construction, access, updates and compatibility.