Remove curId column from math_wmc_ref table

The curId column is no longer needed, and causes nothing but confusion.
The value of curid can be derived from the value of the oldId column.

Change-Id: I998df3a0d421b47ef96949e75be95d762e733541