Add a better error message when failing to assign one tablegen value to another