Polish president does not rule out sending soldiers to Ukraine