The man whose case exposed a major flaw in Tennessee's bail monitoring system has pleaded guilty to capital murder and will spend the rest of his life in prison.