CRM-14798 - Allow editing case-type names even if malformed

This is a follow-up to #3820