Brazil has funded a rare-earth project by Viridis Mining and Minerals Ltd., as the country seeks to tap more of the world’s largest reserves outside China.