Restriction of stable sheaves and representations of the fundamental group