Ship that was attacked by pirates arrives in Kenya