Duchess of Cambridge had been isolating after being in close contact with someone who had tested positive for coronavirus