Factoring linear differential operators on measure chains