Canadian companies settle to end claims they defrauded military grant program