A federal judge has blocked the Trump administration's ban on transgender service members, ruling the policy is discriminatory, unconstitutional and uninformed.