NBC: Court rules N.Y. Democrats gerrymandered congressional map