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

LMS-2920

Reviewed in https://github.com/edx/edx-platform/pull/4221.