High-risk inmates freed from jail early without enough risk planning, inspectors