Gov. Andrew Cuomo signed a New York bill Wednesday that will restrict the use of solitary confinement.