Four-star general demoted for improper spending