Judge halts demotion of embattled St. Paul Veterans Affairs official