IRS employees snooped on the taxes of government officials, business leaders and entertainers despite a program designed to safeguard against such access.