The Indian prime minister made reference to communities that have “too many children” in a veiled reference to Muslims.