The cash-strapped city of Flint has been ordered to repay more than $1 million in federal housing funds.