A lively argument spanning almost three hours featured illuminating exchanges that tested the usual commitments of some of the justices on the right side of the court.