Man dead after Hayward chase, shooting