Matching with Distributional Constraints: An Alternative Solution for the Japanese Medical Residency Match