In lawsuit, Coakley says feds undermine anti-foreclosure law