A federal judge in Manhattan on Wednesday declared void a rule backed by the Trump administration that would make it easier for doctors and nurses to avoid performing abortions on religious or moral grounds.