The Paris prosecutor’s office confirmed it had opened a probe for “damage committed on the grounds of religion.”