Officials say garment could hide wounds or disease; judge says rules violate German constitution's call for people to be treated equally