What provisions did Madison write into the Constitution in his attempt to limit the possibility of a "tyranny of the majority"