Pentagon confirms four-star general’s firing amid Trump security purge