There are plenty of stories about studio execs ruining projects with their input, but for the Star Trek episode 'Insurrection,' it was a lifesaver