After years of often-rancorous negotiation with a Kansas-based rail operator, the state has agreed to buy a 108-mile stretch of rail line between Cheney and Coulee City.The purchase price is about $5.6 million, according to Mark Blazer, senior vice president for the western region of…