Ability Grouping in All-Pay Contests