Some of the Republicans seeking their party’s 2024 presidential nomination have said the case of a Texas woman whose health deteriorated as she unsuccessfully sought an abortion should be handled with “compassion,” but they did not criticize the state’s law.