Defense Secretary James Mattis on Wednesday heralded the two-year spending deal struck by Senate leaders, saying the military needs long-term funding to keep America safe. He said the deal to raise spending caps would ensure the Pentagon’s ability to fill key positions with new recruits, maintain warships and modernize the military. “America can afford survival,” Mr.…