BUG: Bug in multi-axis indexing using .loc on non-unique indices (GH6504)

closes #6504