Manhattan Judge Juan M. Merchan could have sentenced the 78-year-old Republican to up to four years in prison. Instead, he chose a sentence that sidestepped thorny constitutional issues by effectively ending the case.