Fix crash bug in catmark subdivision tables factory

GetValence() cannot be called on singular vertices. Singular vertices can be introduced
in an Hbr mesh as a result of hole tags, so we have to check for that when ranking
vertices for the subdivision table.