[Typer] [Git][monnier/typer][master] Also apply generalization to inductive type constructors