Since there are 2 countries, RIC and Canada, you will need 2 1099-DIV's, the actual and one fictitious.
Bring up a blank 1099-DIV. Name the payer " Canada". In box 1a insert the total ordinary dividends that came from Canada. In box 1b, insert all Canadian qualified dividends In box 7 insert the foreign tax paid to Canada.
Subtract these amounts from the actual 1099-DIV. Thus the actual 1099-DIV will represent only the RIC and the fictitious 1099-DIV will represent only Canada.
When you go to the foreign tax interview, both payers will be displayed and you can run both thru the interview.