Fix a bug for self differentiation of Coefficient:

  u = Constant(triangle)
  diff(u,u) == 1

is now true.