Senate passes half-trillion dollar farm bill