TST: added test for handling repeated keys when using Series.loc with Multiindex

- [x] closes #19414.
- [x] Tests added and passed.
- [x] All code checks passed.

Added test for handling repeated keys when using Series.loc with Multiindex.
Tests and linter pass locally.
Thanks @johnmantios 