Do you have a copy of ISO 9000:2015? Definitions and explanations have been moved into that separate standard. From ISO 9000:2015:
3.12.8
rework
action on a nonconforming (3.6.9) product (3.7.6) or service (3.7.7) to make it conform to the requirements (3.6.4)
3.12.9
repair
action on a nonconforming (3.6.9) product (3.7.6) or service (3.7.7) to make it acceptable for the intended use
Intended use is what happens at point of use, or delivery to the customer. Rework is what happens in production, prior to delivery.