The push to boost defense spending clashes with Madrid’s struggle to ensure not “a single cent” is cut from social spending.