The comments came a day after the Supreme Court dismissed petitions challenging the inclusion of the words “socialist” and “secular” in the Preamble in 1976