Redirected funds from a federal grant after an ethics investigation are going to help pay for its return.