MDL-28949 upgrade: Split course completion upgrade into smaller chunks