Solar Mosaic LLC, a provider of home solar loans that has private equity firm Warburg Pincus as a major backer, is planning to file for bankruptcy in the face of market uncertainty over federal support of clean energy, according to people familiar with the matter.