Late winner boosts Swiss hopes for last 16