[ASDL cleanup] Fix type errors