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

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