By agreeing to a deeply flawed deal with state lawmakers, Gov. Andrew Cuomo gave in to Albany’s secretive and undemocratic ways of doing business.