After ‘a moment of failure,’ John Mark Nelson holed up in a 100-year-old barn and captured his most honest album yet