The president was cleared from an isolation that lasted longer than expected because of a rebound case of the virus.