Makes IndexedBase consistent with Symbol wrt to latex printing
Adds test extra test for latex of IndexedBase
Merge pull request #7354 from bjodah/fix_latex_IndexedBase_gamma

Makes IndexedBase consistent with Symbol wrt to latex printing