act of attainder — Legal Definition, Examples & Cases