The Supreme Judicial Court concluded the ballot question’s exemption on rent control for religious facilities violated the state constitution.