extractPointValue: Extract point value from criterion message.
Description
Internal helper function that extracts point values from criterion labels
formatted as "[2pts]" or "(2pts)".
Usage
extractPointValue(criterion_msg)
Value
A list with components: pts (numeric) and cleaned_msg (string without point spec)
Arguments
- criterion_msg
the criterion message that may contain point specification