The president doesn't, per se, legislate anything. He only enacts/executes legislation that is given to him by the Senate and the House.
Let's take the Patriot Act. So what you're suggesting is that if the president is impeached, then you also have to remove the Senators and Congressmen who co-introduced that legislation? How about everyone who happened to agree and voted for the legislation?