Consistent Model Selection in Segmented Line Regression.