Sheriff to cut sentences of inmates who helped fallen deputy