Fixed #23013 -- Fixed removing unique_together/index_together constraints in migrations.

Well, it being here has kind of been overridden since as of a month or two ago the autodetector now strips unique_together and index_together from the model options when writing files, which I suspect is what triggered this bug.