What country entered the Revolutionary War as a French ally in 1779?