KH-219: Relations to passive when codes is pacified

Sets relations to passive when codes is set to passive.
Merge branch 'develop' of https://github.com/Opetushallitus/koodisto into develop