Compliance - users are not moved into retake even when they are out of compliance (completed and not compliant)

In this KBA, we will explain scenarios where a course will not reset for the users who are in their retake period or out of compliance. Questions this answers: Why didn't the course reset for a learner assigned after falling out of compliance? Why didn't changing the retake setting move learners into retake? How do I fix learners stuck as 'Complete and Not Compliant'?