Japan just undermined one of its key economic policies by upholding an arcane, gender-biased law