Simplify mode-indexed tables in packages
Now that we use extra-parents to group alternative major modes,
some tables can be simplified to mention only the group's leader.
* lisp/align.el (align-c++-modes, align-rules-list):
Don't bother listing TS alternatives.
(align-perl-modes): Don't bother listing CPerl alternative.
* lisp/info-look.el (perl-mode): Simplify.
* lisp/cedet/semantic/symref/grep.el (semantic-symref-filepattern-alist):
Don't bother listing TS alternatives.
* lisp/emulation/viper.el (viper-vi-state-mode-list): Don't bother
listing CPerl alternative.
* lisp/progmodes/gud.el (gud-tooltip-activate-mouse-motions-if-enabled):
Take into account the modes hierarchy.
(gud-tooltip-modes): Don't bother listing TS alternatives.
* .dir-locals.el (c-ts-mode): Simplify.
(cherry picked from commit
41de53d4a1c49ef6c6e8ac4ecb0c10cb1b6e07ce)