Taiwan President Chen Shui-bian has resigned as head of his Democratic Progressive Party , after the party and its allies suffered a major defeat in Saturday 's parliamentary election .