MDL-69687 Course: remove_course_contents orphaned completion data