A jailed immigrant who had to be force fed to save his life has ended his hunger strike and has resumed eating.