Fixes #2627, latex printing of Indexed and IndexedBase.

See issue: #2627
https://github.com/sympy/sympy/issues/2627