CRM-14470 - Prevent users from adding two 'is_primary' fields of the same field type

Prevent users from adding two fields of the same field type (eg. phone) with location type 'is_primary'.