Do not refund student if a certificate already exists for them.

LMS-2920
Well, to me this seems to be the most explicit way to do it. Though I am open to arguments. :)