McDonald’s said it will get its pork suppliers to phase out the use of immobilizing cages for pregnant pigs, a move that was applauded by the Humane Society, but not the pork industry.