The move was legal, and other developers have used similar strategies in recent years, often aided by state officials who welcome the infusion of cash. But it illustrates how Kushner, who ran his family's real estate company before he became a senior adviser to President Trump, and his partners exploited a loophole in a federal program that prominent members of both parties say has been plagued by fraud and abuse.