Validates, fixes, and generates passwords compliant with strict policies that limit character repetition.