Extract and reuse duplicated simplification warning