Federal judge rules lack of notice invalidates Trump administration's military trespassing prosecutions as migrants still face illegal entry charges.