Republican senators berate, get schooled by judicial nominee