The New York Senate and Assembly have approved new district lines, as Governor Cuomo and legislative leaders announced agreement on a number of other unrelated issues, including expansion of the state’s DNA data base, pension reform, and an amendment to allow more gambling in New York.