John Swinney has been accused of rewarding failure after he agreed to hand his ministerial team a pay rise costing taxpayers more than £70,000.