British soldiers will deploy to Poland later this month for an exercise rehearsing how they would help maintain peace in Ukraine following a ceasefire.