I agree it is questionable but I do not agree it is a clear violation:
Ҥ1385. Use of Army and Air Force as posse comitatus
Whoever, except in cases and under circumstances expressly authorized by the Constitution or Act of Congress, willfully uses any part of the Army or the Air Force as a posse comitatus or otherwise to execute the laws shall be fined under this title or imprisoned not more than two years, or both.”
http://uscode.house.gov/download/releasepoints/us/pl/113/120/pdf_usc18@113-120.zip
One might argue both sides of “uses any part” and its relation to funds. This is especially true given the law was written specifically to limit the use of federal troops to physically get involved in the maintenance of social order and doesn’t say anything about studying the subject.
So, one can argue both sides as ‘execut[ing] the laws’ clearly means troops endorsing laws as opposed to the studying of the breakdown of social order.