Congress, Bargaining, and the Distribution of Grants