A rule that blocks apprentices from accessing their legal entitlement to English and maths training will be changed, it has been confirmed.