Days before the start of a tumultuous term, and after the Supreme Court justices divided bitterly over a Texas law that bars most abortions after six weeks, Justice Sonia Sotomayor warned an audience of law students about the frustration of having to write dissents.