Odd-parity ground state in dilute Yu-Shiba-Rusinov dimers and chains