This PR fixes a bug in the `cases` tacic introduced in #3188 that arises when cases (not induction) is used with a non-atomic expression in using and the argument indexing gets confused. This fixes #8360.