Perpetrators who have no other citizenship must be granted all state benefits except for the right to vote, judges rule, in caveat that angers interior minister