Mexico’s 5-4 victory over Puerto Rico in the World Baseball Classic put it in the semifinals Monday against Shohei Ohtani and Japan.