A federal judge has granted a permanent order sought by unionised workers that bars ArvinMeritor from reducing retiree health-care benefits for workers at factories it has sold or closed.