Portuguese Prime Minister António Costa resigned Tuesday after his government was involved in a widespread corruption probe, sending a shock wave through the normally tranquil politics of the European Union member.