Republicans’ decision to abandon a congressional spending plan will cost about 2.1 million troops their pay over the Christmas holidays unless some agreement is reached before Friday’s deadline to prevent a government shutdown, the Pentagon warned.