More than 100 North Carolina teachers who got bonuses have been told they must pay the money back because it was a mistake.