A federal judge in Texas ruled it would be “futile” for the producers to try again with a third amended complaint