Cuyahoga Sheriff Viland's resignation comes as shock to union representing deputies